<?php

namespace BaseBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * OrdersCommunion
 *
 * @ORM\Table(name="orders_communion", options={"comment":"订单状态记录表，用于动态的反映订单状态的操作流程"})
 * @ORM\Entity()
 */
class  OrdersCommunion
{
    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var Orders
     *
     * @ORM\ManyToOne(targetEntity="BaseBundle\Entity\Orders", inversedBy="id")
     * @ORM\JoinColumn(name="order_id", referencedColumnName="id")
     */
    private $order;

    /**
     * @var boolean
     *
     * @ORM\Column(name="status", type="boolean", options={"comment":"订单状态"})
     */
    private $status;

    /**
     * @var string
     *
     * @ORM\Column(name="content", type="string", length=45, nullable=true, options={"comment":"交流内容"})
     */
    private $content;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="created_at", type="datetime", options={"comment":"创建时间"})
     */
    private $createdAt;
    
    


}
